package com.longcai.service.fuyoupay.impl;

import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.longcai.entity.payment.fuyou.request.ClyjFuyouAgencyRecord;
import com.longcai.fenzhuang.fuyou.AgencyPayResponse;
import com.longcai.fenzhuang.fuyou.Qrytrans;
import com.longcai.mapper.fuyoupay.ClyjFuyouAgencyRecordMapper;
import com.longcai.service.fuyoupay.ClyjFuyouAgencyRecordService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author f
 * @since 2019-04-22
 */
@Service
public class ClyjFuyouAgencyRecordServiceImpl extends ServiceImpl<ClyjFuyouAgencyRecordMapper, ClyjFuyouAgencyRecord> implements ClyjFuyouAgencyRecordService {

	@Override
	public ClyjFuyouAgencyRecord checkout(JSONObject params) {
		ClyjFuyouAgencyRecord cfar = new ClyjFuyouAgencyRecord();
		cfar.setOrderno(System.currentTimeMillis()+"");
		cfar.setBusicd(params.getString("busicd"));
		cfar.setOrderno(params.getString("orderno"));
		cfar.setTransst(params.getString("transst"));
		cfar.setSrcModuleCd(params.getString("srcModuleCd"));
		Qrytrans qt = new Qrytrans();
		Qrytrans search = qt.search(cfar);
		
		return null;
	}

}
